package com.agriculture.competition.domain;

import com.agriculture.common.core.annotation.Excel;
import com.agriculture.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import lombok.Data;

/**
 * 案件对象 ja_case
 *
 * @author agriculture
 * @date 2024-11-14
 */
@Data
public class JaCase extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** ID */
    @Excel(name = "ID")
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date releaseTime;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 关键词 */
    @Excel(name = "关键词")
    private String keyword;

    /** 显示顺序 */
    private String orderNum;

    /** 创建人 */
    private Long createUser;

    /** 更新人 */
    private Long updateUser;

    /** 缩略图URL */
    private String image;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;
    /** "today"为今天，“week”为本周，“month”为本月*/
    private String periodFlag;
    /**
     * 流程状态 ：0，待审核，1，审核通过
     */
    private String processState;
}
